home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / pipnss / nsIGenKeypairInfoDlg.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  110 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIGenKeypairInfoDlg.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIGenKeypairInfoDlg_h__
  6. #define __gen_nsIGenKeypairInfoDlg_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIInterfaceRequestor; /* forward declaration */
  18.  
  19. class nsIKeygenThread; /* forward declaration */
  20.  
  21.  
  22. /* starting interface:    nsIGeneratingKeypairInfoDialogs */
  23. #define NS_IGENERATINGKEYPAIRINFODIALOGS_IID_STR "11bf5cdc-1dd2-11b2-ba6a-c76afb326fa1"
  24.  
  25. #define NS_IGENERATINGKEYPAIRINFODIALOGS_IID \
  26.   {0x11bf5cdc, 0x1dd2, 0x11b2, \
  27.     { 0xba, 0x6a, 0xc7, 0x6a, 0xfb, 0x32, 0x6f, 0xa1 }}
  28.  
  29. /**
  30.  * nsIGeneratingKeypairInfoDialogs
  31.  *  This is the interface for giving feedback to the user
  32.  *  while generating a key pair.
  33.  */
  34. class NS_NO_VTABLE nsIGeneratingKeypairInfoDialogs : public nsISupports {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IGENERATINGKEYPAIRINFODIALOGS_IID)
  38.  
  39.   /* void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenThread runnable); */
  40.   NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) = 0;
  41.  
  42. };
  43.  
  44. /* Use this macro when declaring classes that implement this interface. */
  45. #define NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS \
  46.   NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable); 
  47.  
  48. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  49. #define NS_FORWARD_NSIGENERATINGKEYPAIRINFODIALOGS(_to) \
  50.   NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) { return _to DisplayGeneratingKeypairInfo(ctx, runnable); } 
  51.  
  52. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  53. #define NS_FORWARD_SAFE_NSIGENERATINGKEYPAIRINFODIALOGS(_to) \
  54.   NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayGeneratingKeypairInfo(ctx, runnable); } 
  55.  
  56. #if 0
  57. /* Use the code below as a template for the implementation class for this interface. */
  58.  
  59. /* Header file */
  60. class nsGeneratingKeypairInfoDialogs : public nsIGeneratingKeypairInfoDialogs
  61. {
  62. public:
  63.   NS_DECL_ISUPPORTS
  64.   NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS
  65.  
  66.   nsGeneratingKeypairInfoDialogs();
  67.  
  68. private:
  69.   ~nsGeneratingKeypairInfoDialogs();
  70.  
  71. protected:
  72.   /* additional members */
  73. };
  74.  
  75. /* Implementation file */
  76. NS_IMPL_ISUPPORTS1(nsGeneratingKeypairInfoDialogs, nsIGeneratingKeypairInfoDialogs)
  77.  
  78. nsGeneratingKeypairInfoDialogs::nsGeneratingKeypairInfoDialogs()
  79. {
  80.   /* member initializers and constructor code */
  81. }
  82.  
  83. nsGeneratingKeypairInfoDialogs::~nsGeneratingKeypairInfoDialogs()
  84. {
  85.   /* destructor code */
  86. }
  87.  
  88. /* void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenThread runnable); */
  89. NS_IMETHODIMP nsGeneratingKeypairInfoDialogs::DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable)
  90. {
  91.     return NS_ERROR_NOT_IMPLEMENTED;
  92. }
  93.  
  94. /* End of implementation class template. */
  95. #endif
  96.  
  97. /**
  98.  * This component is to be implemented by the embeddor. It is used to show
  99.  * feedback to the user while a private key is being generated.
  100.  *
  101.  * This component is only ever used on the UI thread.
  102.  *
  103.  * INTERFACES THAT NEED TO BE IMPLEMENTED:
  104.  *   nsIGeneratingKeypairInfoDialogs
  105.  */
  106. #define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \
  107.             "@mozilla.org/nsGeneratingKeypairInfoDialogs;1"
  108.  
  109. #endif /* __gen_nsIGenKeypairInfoDlg_h__ */
  110.